package com.dao;

import com.model._do.DoctorAuthDO;
import com.model._do.UserDO;
import com.model.dto.SuperviseDTO.Search.AuthDoctorSearch;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import javax.print.Doc;
import java.util.List;

@Repository("doctorDAO")
public interface DoctorAuthDAO {

    public DoctorAuthDO getDoctorByUserId(UserDO doctor);

    public void uploadAuth(DoctorAuthDO auth);

    public List<DoctorAuthDO> getAuthDone(AuthDoctorSearch search);

    public List<DoctorAuthDO> getAuthUnDone(AuthDoctorSearch search);

    public void pushAuthResult(DoctorAuthDO auth);
}
